﻿using System;
using System.Collections.Generic;
using System.Text;
using Mang24k99.Model.GOLD;
using NHibernate;
using NHibernate.Expression;

namespace Mang24k99.Business.GOLD
{
    public static class BKtGoldSaleprice
    {

        public static IList<MKtGoldSaleprice> FindAll()
        {
            return MKtGoldSaleprice.SelectAll();
        }

        public static MKtGoldSaleprice Find(object ID)
        {
            return MKtGoldSaleprice.SelectByPrimaryKey(ID);
        }

        public static IList<MKtGoldSaleprice> FindALLByProperty(string property, object value)
        {
            return MKtGoldSaleprice.SelectALLByProperty(property, value);
        }

        public static IList<MKtGoldSaleprice> FindALLSliced(int firstResult, int maxResult)
        {
            DetachedCriteria criteria = null;
            return MKtGoldSaleprice.SelectALLSliced(firstResult, maxResult, criteria);
        }
        

    }
}
